﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Register.Model;
namespace Register.IDAL
{
 public    interface IDoctorInfoDAL
    {
     //获取科室信息
     List<DepartmentsInfo> GetDepartmentsList();
        //添加医生信息
        int AddDoctorInfo(Model.DoctorInfo model);
       
        //获取医生信息
        Model.DoctorInfo GetDoctorInfo(string doctorID);
        List<Model.DoctorInfo> GetPagedDoctorInfo(int size, int pageIndex, string where);

        int GetDoctorInfoCount(string where);
        //根据医生ID返回性别名称
      //  string GetGenderNameById(string doctorID);
     //删除医生
        int DeleteDoctorInfo(String doctorID);
     //更新医生信息
        int UpdateDoctorInfo(DoctorInfo doctorInfo);
     //根据科室ID获取科室名称
        string GetDepartmentsNameById(string departmentsID);
     //判断医生是否存在用户
        bool Exists(string doctorID);
    }
}
